import hzcRequest from "../../../utils/https";

// 保存提现申请
const saveCashApply = (data) => {
  return hzcRequest.post(`/api/member/cashWithdrawal/saveCashApply`, data);
};

// 查询提现申请
const getSaveCashApplyPage = (params) => {
  return hzcRequest.get(
    `/api/member/cashWithdrawal/getCashWithdrawalByUserId`,
    params
  );
};


// 查询提现手续费比例
const getCommissionProportion = (params) => {
  return hzcRequest.get(
      `/api/member/cashWithdrawal/getCommissionProportion`,
      params
  );
};


export { saveCashApply, getSaveCashApplyPage,getCommissionProportion};
